/// Provides the archive type.
#include <pryn.h>

PrynType *prynArchiveType = 0;

PrynLibraryEntryPoint (PrynLibrary *library)
{
	PrynType *type;
	PrynResult result = 0;
	
	prynSetLibraryNameLiteral (library, "Archive type");
	prynSetLibraryDescriptionLiteral (library, "This provides the Archive type, which is a collection of files.");
	
	result = prynCreateType (library, &type, prynStringLiteral ("Pryn.Archive"));
	if (result < 0) return result;
	prynArchiveType = type;
	
	prynSetTypeNameLiteral (type, "Archive");
	prynSetTypeDescriptionLiteral (type, "A collection of files.");	
	
	return result;
}
